QuickOPC User's Guide and Reference
NuGet Packages
Fundamentals > Product Parts > Component Packages > NuGet Packages
In This Topic
NuGet packages are for development on .NET 6+ and .NET Framework platforms. Use the Setup Program when developing for COM or Excel platform, or in PowerShell. Use Python Packages when developing in Python.

NuGet (www.nuget.org) is the package manager for the Microsoft development platform including .NET. The NuGet client tools provide the ability to produce and consume packages. QuickOPC NuGet packages are hosted in the NuGet Gallery (https://www.nuget.org/packages). The NuGet Gallery is the central package repository used by most package authors and consumers.

When you use NuGet to install a package, it copies the library files to your solution and automatically updates your project (add references, change config files, etc.). If you remove a package, NuGet reverses whatever changes it made so that no clutter is left.

For more details about QuickOPC NuGet packages and instructions on how to use them, see:

Local Copy

The QuickOPC NuGet packages are available online, from www.nuget.org .

In addition to this, the Setup program also installs a local copy of QuickOPC NuGet packages, into the NuGetPackages directory under the product installation folder. The structure of this directory is such that it can be directly used a NuGet local feed, e.g. for off-line development and building purposes. All you need to do is to add this directory in your NuGet package manager as an additional package source.

Limitations

Note that NuGet is primarily a tool for resolving build-time dependencies. The amount of functionality that you get through QuickOPC NuGet packages is smaller than what QuickOPC can actually do for you. If you want a full coverage of the features, you would be better off installing the product using the Setup program. Further below you will find a list of differences between the two distribution forms.

The bulk of this documentation assumes that you have installed the product using the Setup program. You need to keep the limited scope of NuGet in mind when interpreting the documentation.

What is included in the NuGet packages:

What is only available from the Setup program or elsewhere (e.g. online):

XML Comments and IntelliSense

Together with the .DLL files of the assemblies, contained in the NuGet packages, QuickOPC also includes .XML files that contain XML comments for them. The texts contained in these files are used by various tools to provide features such as IntelliSense and Object Browser information in Visual Studio.

ReSharper Annotations

In the QuickOPC assemblies contained in the NuGet packages, API members are annotated using JetBrains ReSharper (http://www.jetbrains.com/resharper/) attributes, such as the most common [CanBeNull] and [NotNull] attributes. ReSharper users benefit from the annotations, as possible improper usages are recognized and highlighted by ReSharper’s code inspection feature.

See Also

Knowledge Base

Reference